Folder Synchronize Command Script Syntax (Ver 3.0) Funduc Software, Inc Copyright 1997-2009 http://www.funduc.com    http://www.searchandreplace.com support@Funduc.com     support@searchandreplace.com FILTER SETTINGS FOR SCRIPTS # and ' are the comment characters for scripts but this file is NOT a sample script. DO NOT submit this file to the program as a script. This uses an older syntax style. Version 3.0 supports this style but we suggest using the style presented in the program Winhlp documentation and the "FoldSyncSyntax.sfs" file. IMPORTANT NOTE: This syntax style does not support the v 3.0 Prompted & Custom Synchronize choices that are available in the syntax style described in 'FoldSyncSyntax.sfs'. Here are some details and example settings for the various filter switches. Please note that there is a slight difference in the switch verbs with the two syntax forms: Original Syntax Form Folder Synchronize Form ------------------------- ----------------------- Filter Skip Mask= Skip Files Mask= Ignored Attributes Mask= Ignore Attributes= The file skip, attribute, and reverse filter swtiches work in combination with each other. The number of combinations of values is extensive. Some example settings are below. Additional settings are possible. Write support@funduc.com if you need help. # *** SIZE & DATE EXCLUDE FILTERS *** # Size & date filters exclude files by size &/or date. Any files # that are less than the minimum size (in bytes) will be excluded # from the operation. If you use Reverse Filters=1, the settings # work as 'include' filters. Dates use the format specified in # Control Panel (Regional Settings). Leave blank or omit entirely if # you want no setting. # Also note that you can use the string, %%today%%, for the two # date filters. When specified, %%today%% automatically uses the # current computer date for the respective filter setting. You can # add or subtract days by specifying a +/- value before the ending # %%. Examples: %%today-5%% uses a date filter of the current date # minus 5 days; %%today+1%% adds one day to the current date. # Min Size Filter=0 # Max Size Filter=100000 # Min Date Filter=8/21/2001 # Max Date Filter=8/23/2004 # *** REVERSE FILTERS *** # Reverse filters= is used to make the other filter switches # function as exlude or include filters. For example, Reverse # Filters=0 & Max Date Filter=01/01/2000 excludes all files with a # stamp after Jan 01, 2000. Reverse Filters=1 changes this to # include only files dated Jan 01, 2000 or after. # The values are: # 0 = Do not use Reverse Filtering. # 1 = Reverse Filter mode enabled. # If not specified, Default = 0. Reverse Filters=0 # *** FILE & DIRECTORY ATTRIBUTE FILTERS **** # # The Filter Skip Mask= and Ignored Attributes Mask= switches are used # together, in conjunction with Reverse Filters= to exclude/include # some file types in the operation. # The default values of Filter Skip Mask=0 & Ignored Attributes Mask=55 # mean no files or subdirs are filtered. If you wish to use these # defaults it is not necessary to specify these switches. # Please use the below list for some common settings. # *** SOME SAMPLE SETTINGS **** # Paste all three script switches into your script. # Include files that are Read-Only along with any other attribute Filter Skip Mask=1 Ignored Attributes Mask=54 Reverse Filters=1 # Exclude files that are Read-Only along with any other attribute Filter Skip Mask=1 Ignored Attributes Mask=54 Reverse Filters=0 # Include files that that are solely Read-Only Filter Skip Mask=1 Ignored Attributes Mask=16 Reverse Filters=1 # Exclude files that that are solely Read-Only Filter Skip Mask=1 Ignored Attributes Mask=16 Reverse Filters=0 # Include Archive along with any other attribute Filter Skip Mask=32 Ignored Attributes Mask=23 Reverse Filters=1 # Exclude Archive along with any other attribute Filter Skip Mask=32 Ignored Attributes Mask=23 Reverse Filters=0 # Include solely Archive Filter Skip Mask=32 Ignored Attributes Mask=16 Reverse Filters=1 # Exclude solely Archive Filter Skip Mask=32 Ignored Attributes Mask=16 Reverse Filters=0 # Include System along with any other attribute Filter Skip Mask=4 Ignored Attributes Mask=51 Reverse Filters=1 # Exclude System along with any other attribute Filter Skip Mask=4 Ignored Attributes Mask=51 Reverse Filters=0 # Include solely System Filter Skip Mask=4 Ignored Attributes Mask=16 Reverse Filters=1 # Exclude solely System Filter Skip Mask=4 Ignored Attributes Mask=16 Reverse Filters=0 # Include Hidden along with any other attribute Filter Skip Mask=2 Ignored Attributes Mask=53 Reverse Filters=1 # Exclude Hidden along with any other attribute Filter Skip Mask=2 Ignored Attributes Mask=53 Reverse Filters=0 # Include solely Hidden Filter Skip Mask=2 Ignored Attributes Mask=16 Reverse Filters=1 # Exclude solely Hidden Filter Skip Mask=2 Ignored Attributes Mask=16 Reverse Filters=0 # Include Read-Only & Hidden along with any other attribute Filter Skip Mask=3 Ignored Attributes Mask=52 Reverse Filters=1 # Exclude Read-Only & Hidden along with any other attribute Filter Skip Mask=3 Ignored Attributes Mask=52 Reverse Filters=0 # Include solely Read-Only & Hidden Alone Filter Skip Mask=3 Ignored Attributes Mask=16 Reverse Filters=1 # Exclude solely Read-Only & Hidden Filter Skip Mask=3 Ignored Attributes Mask=16 Reverse Filters=0 # Include Read-Only, Hidden, & System along with any other attribute Filter Skip Mask=7 Ignored Attributes Mask=48 Reverse Filters=1 # Exclude Read-Only, Hidden, & System along with any other attribute Filter Skip Mask=7 Ignored Attributes Mask=48 Reverse Filters=0 # Include solely Read-Only, Hidden, & System Filter Skip Mask=7 Ignored Attributes Mask=16 Reverse Filters=1 # Exclude solely Read-Only, Hidden, & System Filter Skip Mask=7 Ignored Attributes Mask=16 Reverse Filters=0 # Include files with No Attribute Setting Filter Skip Mask=0 Ignored Attributes Mask=16 Reverse Filters=1 # Exclude files with No Attribute Setting Filter Skip Mask=0 Ignored Attributes Mask=16 Reverse Filters=0